<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;
use common\modules\admin\models\Admin;
/* @var $this yii\web\View */
/* @var $model oss\models\Admin */

$this->title = '更新密码: ' . ' ' . $model->name;
$this->params['breadcrumbs'][] = '更新密码';
?>
<div class="admin-update">

    <h1><?= Html::encode($this->title) ?></h1>
    <h3><?php echo $tips;?></h3>
    <div class="admin-form">

        <?php $form = ActiveForm::begin(); ?>


        <?= $form->field($model, 'password')->textInput(['maxlength' => true]) ?>

        <?= $form->field($model, 'repassword')->textInput(['maxlength' => true]) ?>

        <div class="form-group">
            <?= Html::submitButton($model->isNewRecord ? 'Create' : 'Update', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?>
        </div>

        <?php ActiveForm::end(); ?>

    </div>


</div>
